//
//  EditViewController.h
//  WWallet
//
//  Created by Aries on 11-9-23.
//  Copyright 2011年 bit. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "IWExpenseItem.h"


@interface EditViewController : UIViewController<UITextFieldDelegate> {
    IWExpenseItem *expense;
    UILabel *labelID;
    
    UITextField *txtTitle;
    UITextField *txtAmount;
    UISegmentedControl *switchDirection;
    UITextField *txtDateYear;
    UITextField *txtDateMonth;
    UITextField *txtDateDay;
    UITextField *txtRemark;
}
@property (nonatomic, retain) IWExpenseItem *expense;
@property (nonatomic, retain) IBOutlet UILabel *labelID;
@property (nonatomic, retain) IBOutlet UITextField *txtTitle;
@property (nonatomic, retain) IBOutlet UITextField *txtAmount;
@property (nonatomic, retain) IBOutlet UISegmentedControl *switchDirection;
@property (nonatomic, retain) IBOutlet UITextField *txtDateYear;
@property (nonatomic, retain) IBOutlet UITextField *txtDateMonth;
@property (nonatomic, retain) IBOutlet UITextField *txtDateDay;
@property (nonatomic, retain) IBOutlet UITextField *txtRemark;

@end
